package com.itheima.service.mongo;

import com.itheima.vo.PageBeanVo;
import com.itheima.vo.UserLikeCountVo;

public interface UserLikeService {

    //保存喜欢信息
    void save(Long userId, Long likeUserId);

    //查询两人是否为好友关系
    boolean isMutualLike(Long userId, Long likeUserId);

    //删除喜欢信息
    void delete(Long userId, Long likeUserId);

    //获取三个喜欢总数
    UserLikeCountVo findUserCount(Long userId);

    //喜欢详情
    PageBeanVo findUserList(Long userId, Integer type, Integer pageNum, Integer pageSize);
}
